﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RoleSelection.Helper
{
    public class RespInfo
    {
        [JsonProperty(PropertyName= "version")]
        public string Version { get; set; }
        [JsonProperty(PropertyName = "retCode")]
        public int RetCode { get; set; }
        [JsonProperty(PropertyName = "serial_num")]
        public string SerialNum { get; set; }
        [JsonProperty(PropertyName = "data")]
        public string Data { get; set; }
        [JsonProperty(PropertyName = "msg")]
        public string Msg { get; set; }
        [JsonProperty(PropertyName = "checkparam")]
        public string CheckParam { get; set; }
        [JsonProperty(PropertyName = "md5str")]
        public string Md5Str { get; set; }
        [JsonProperty(PropertyName = "infostr")]
        public string InfoStr { get; set; }
        [JsonProperty(PropertyName = "checkstr")]
        public string CheckStr { get; set; }

        /// <summary>
        /// data字段对应的字典
        /// </summary>
        [JsonIgnore]
        public Dictionary<string,string> DataDict { get; set; }
    }
}
